<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
        [[${stu.name}]]
         <form method="post" action="update2">
             <input type="hidden" name="id"  th:value="${stu.id}">
             <input type="text" name="name" th:value="${stu.name}">
             <input type="text" name="age" th:value="${stu.age}">
             <input type="text" name="birthday" th:value="${stu.birthday}">
             <input type="submit" value="修改">
         </form>
</body>
</html>